class Person {
    age = 18
    //currentTime = ()=>Date.now()
    get currentTime(){
        return Date.now()
    }
}

let p = new Person();
console.log(p.age)
console.log(p.currentTime)

setTimeout(()=>{
    console.log(p.currentTime)
});